<template>
	<view class="main">
		<view class="active_tit">
			<view class="tit">
				资产负债表
			</view> 
			<!-- <view class="add">
				＋
			</view> -->
		</view>
		<view class="active_tit">
			<view class="tit2">
				流动资产
			</view> 
			<!-- <view class="add">
				＋
			</view> -->
		</view>
		<!-- input -->
		<ActiveForm required  ref='A010101' style="width: 50%;">
		
			<view class="active_label">
				货币资金：
			</view>
			<view class="active_input">
				<mInput maxlength="16" type="number" v-model="stdOffsurCommonFinancial.A01.A010101.beginSum" placeholder="期初(元)" />
				<mInput maxlength="16" type="number" v-model="stdOffsurCommonFinancial.A01.A010101.endSum" placeholder="期末(元)" />
			</view>
		</ActiveForm>
		
		<ActiveForm required  ref='A010102' style="width: 50%;">
			<view class="active_label">
				短期投资：
			</view>
			<view class="active_input">
				<mInput maxlength="16" type="number" v-model="stdOffsurCommonFinancial.A01.A010102.beginSum" placeholder="期初(元)" />
				<mInput maxlength="16" type="number" v-model="stdOffsurCommonFinancial.A01.A010102.endSum" placeholder="期末(元)" />
			</view>
		</ActiveForm>
		
		<ActiveForm required  ref='A010103' style="width: 50%;">
			<view class="active_label">
				应收票据：
			</view>
			<view class="active_input">
				<mInput maxlength="16" type="number" v-model="stdOffsurCommonFinancial.A01.A010103.beginSum" placeholder="期初(元)" />
				<mInput maxlength="16" type="number" v-model="stdOffsurCommonFinancial.A01.A010103.endSum" placeholder="期末(元)" />
			</view>
		</ActiveForm>
		
		<ActiveForm required  ref='A010104' style="width: 50%;">
			<view class="active_label">
				应收账款：
			</view>
			<view class="active_input">
				<mInput maxlength="16" type="number" v-model="stdOffsurCommonFinancial.A01.A010104.beginSum" placeholder="期初(元)" />
				<mInput maxlength="16" type="number" v-model="stdOffsurCommonFinancial.A01.A010104.endSum" placeholder="期末(元)" />
			</view>
		</ActiveForm>
		<ActiveForm required  ref='A010105' style="width: 50%;">
			<view class="active_label">
				预付账款：
			</view>
			<view class="active_input">
				<mInput maxlength="16" type="number" v-model="stdOffsurCommonFinancial.A01.A010105.beginSum" placeholder="期初(元)" />
				<mInput maxlength="16" type="number" v-model="stdOffsurCommonFinancial.A01.A010105.endSum" placeholder="期末(元)" />
			</view>
		</ActiveForm>
		<ActiveForm required  ref='A010106' style="width: 50%;">
			<view class="active_label">
				应收股利：
			</view>
			<view class="active_input">
				<mInput maxlength="16" type="number" v-model="stdOffsurCommonFinancial.A01.A010106.beginSum" placeholder="期初(元)" />
				<mInput maxlength="16" type="number" v-model="stdOffsurCommonFinancial.A01.A010106.endSum" placeholder="期末(元)" />
			</view>
		</ActiveForm>
		<ActiveForm required  ref='A010107' style="width: 50%;">
			<view class="active_label">
				应收利息：
			</view>
			<view class="active_input">
				<mInput maxlength="16" type="number" v-model="stdOffsurCommonFinancial.A01.A010107.beginSum" placeholder="期初(元)" />
				<mInput maxlength="16" type="number" v-model="stdOffsurCommonFinancial.A01.A010107.endSum" placeholder="期末(元)" />
			</view>
		</ActiveForm>
		<ActiveForm required  ref='A010108' style="width: 50%;">
			<view class="active_label">
				其他应收款：
			</view>
			<view class="active_input">
				<mInput maxlength="16" type="number" v-model="stdOffsurCommonFinancial.A01.A010108.beginSum" placeholder="期初(元)" />
				<mInput maxlength="16" type="number" v-model="stdOffsurCommonFinancial.A01.A010108.endSum" placeholder="期末(元)" />
			</view>
		</ActiveForm>
		<ActiveForm   ref='A010109' style="width: 50%;">
			<view class="active_label">
				存货：
			</view>
			<view class="active_input">
				<mInput disabled maxlength="16"  :value="ch1()" placeholder="期初(元)" />
				<mInput disabled maxlength="16"  :value="ch2()" placeholder="期末(元)" />
			</view>
		</ActiveForm>
		<ActiveForm required  ref='A010110' style="width: 50%;">
			<view class="active_label">
				其中：原材料：
			</view>
			<view class="active_input">
				<mInput maxlength="16" type="number" v-model="stdOffsurCommonFinancial.A01.A010110.beginSum" placeholder="期初(元)" />
				<mInput maxlength="16" type="number" v-model="stdOffsurCommonFinancial.A01.A010110.endSum" placeholder="期末(元)" />
			</view>
		</ActiveForm>
		<ActiveForm required  ref='A010111' style="width: 50%;">
			<view class="active_label">
				在产品：
			</view>
			<view class="active_input">
				<mInput maxlength="16" type="number" v-model="stdOffsurCommonFinancial.A01.A010111.beginSum" placeholder="期初(元)" />
				<mInput maxlength="16" type="number" v-model="stdOffsurCommonFinancial.A01.A010111.endSum" placeholder="期末(元)" />
			</view>
		</ActiveForm>
		<ActiveForm required  ref='A010112' style="width: 50%;">
			<view class="active_label">
				库存商品：
			</view>
			<view class="active_input">
				<mInput maxlength="16" type="number" v-model="stdOffsurCommonFinancial.A01.A010112.beginSum" placeholder="期初(元)" />
				<mInput maxlength="16" type="number" v-model="stdOffsurCommonFinancial.A01.A010112.endSum" placeholder="期末(元)" />
			</view>
		</ActiveForm>
		<ActiveForm required  ref='A010113' style="width: 50%;">
			<view class="active_label">
				周转材料：
			</view>
			<view class="active_input">
				<mInput maxlength="16" type="number" v-model="stdOffsurCommonFinancial.A01.A010113.beginSum" placeholder="期初(元)" />
				<mInput maxlength="16" type="number" v-model="stdOffsurCommonFinancial.A01.A010113.endSum" placeholder="期末(元)" />
			</view>
		</ActiveForm>
		<ActiveForm required  ref='A010114' style="width: 50%;">
			<view class="active_label">
				其他流动资产：
			</view>
			<view class="active_input">
				<mInput maxlength="16" type="number" v-model="stdOffsurCommonFinancial.A01.A010114.beginSum" placeholder="期初(元)" />
				<mInput maxlength="16" type="number" v-model="stdOffsurCommonFinancial.A01.A010114.endSum" placeholder="期末(元)" />
			</view>
		</ActiveForm>
		<ActiveForm   ref='' style="width: 50%;">
			<view class="active_label">
				流动资产合计：
			</view>
			<view class="active_input">
				<mInput maxlength="16" type="number" :disabled="true" v-model="liudongzichan.beginSum" placeholder="期初(元)" />
				<mInput maxlength="16" type="number" :disabled="true" v-model="liudongzichan.endSum" placeholder="期末(元)" />
			</view>
		</ActiveForm>
		
		<view class="active_tit">
			<view class="tit2">
				非流动资产
			</view> 
			<!-- <view class="add">
				＋
			</view> -->
		</view>
		<!-- input -->
		<ActiveForm required  ref='A010201' style="width: 50%;">
			<view class="active_label">
				长期债券投资：
			</view>
			<view class="active_input">
				<mInput maxlength="16" type="number" v-model="stdOffsurCommonFinancial.A01.A010201.beginSum" placeholder="期初(元)" />
				<mInput maxlength="16" type="number" v-model="stdOffsurCommonFinancial.A01.A010201.endSum" placeholder="期末(元)" />
			</view>
		</ActiveForm>
		
		<ActiveForm required  ref='A010202' style="width: 50%;">
			<view class="active_label">
				 长期股权投资：
			</view>
			<view class="active_input">
				<mInput maxlength="16" type="number" v-model="stdOffsurCommonFinancial.A01.A010202.beginSum" placeholder="期初(元)" />
				<mInput maxlength="16" type="number" v-model="stdOffsurCommonFinancial.A01.A010202.endSum" placeholder="期末(元)" />
			</view>
		</ActiveForm>
		
		<ActiveForm required  ref='A010203' style="width: 50%;">
			<view class="active_label">
				固定资产原价：
			</view>
			<view class="active_input">
				<mInput maxlength="16" type="number" v-model="stdOffsurCommonFinancial.A01.A010203.beginSum" placeholder="期初(元)" />
				<mInput maxlength="16" type="number" v-model="stdOffsurCommonFinancial.A01.A010203.endSum" placeholder="期末(元)" />
			</view>
		</ActiveForm>
		
		<ActiveForm required  ref='A010204' style="width: 50%;">
			<view class="active_label">
				减:累计折旧：
			</view>
			<view class="active_input">
				<mInput maxlength="16" type="number" v-model="stdOffsurCommonFinancial.A01.A010204.beginSum" placeholder="期初(元)" />
				<mInput maxlength="16" type="number" v-model="stdOffsurCommonFinancial.A01.A010204.endSum" placeholder="期末(元)" />
			</view>
		</ActiveForm>
		<ActiveForm   ref='A010205' style="width: 50%;">
			<view class="active_label">
				 固定资产账面价值：
			</view>
			<view class="active_input">
				<mInput negative maxlength="16" disabled type="number" :value="gd1()" placeholder="期初(元)" />
				<mInput negative maxlength="16" disabled type="number" :value="gd2()" placeholder="期末(元)" />
			</view>
		</ActiveForm>
		<ActiveForm required  ref='A010206' style="width: 50%;">
			<view class="active_label">
				在建工程：
			</view>
			<view class="active_input">
				<mInput maxlength="16" type="number" v-model="stdOffsurCommonFinancial.A01.A010206.beginSum" placeholder="期初(元)" />
				<mInput maxlength="16" type="number" v-model="stdOffsurCommonFinancial.A01.A010206.endSum" placeholder="期末(元)" />
			</view>
		</ActiveForm>
		<ActiveForm required  ref='A010207' style="width: 50%;">
			<view class="active_label">
				工程物资：
			</view>
			<view class="active_input">
				<mInput maxlength="16" type="number" v-model="stdOffsurCommonFinancial.A01.A010207.beginSum" placeholder="期初(元)" />
				<mInput maxlength="16" type="number" v-model="stdOffsurCommonFinancial.A01.A010207.endSum" placeholder="期末(元)" />
			</view>
		</ActiveForm>
		<ActiveForm required  ref='A010208' style="width: 50%;">
			<view class="active_label">
				固定资产清理：
			</view>
			<view class="active_input">
				<mInput maxlength="16" type="number" v-model="stdOffsurCommonFinancial.A01.A010208.beginSum" placeholder="期初(元)" />
				<mInput maxlength="16" type="number" v-model="stdOffsurCommonFinancial.A01.A010208.endSum" placeholder="期末(元)" />
			</view>
		</ActiveForm>
		<ActiveForm required  ref='A010209' style="width: 50%;">
			<view class="active_label">
				生产性生物资产：
			</view>
			<view class="active_input">
				<mInput maxlength="16" type="number" v-model="stdOffsurCommonFinancial.A01.A010209.beginSum" placeholder="期初(元)" />
				<mInput maxlength="16" type="number" v-model="stdOffsurCommonFinancial.A01.A010209.endSum" placeholder="期末(元)" />
			</view>
		</ActiveForm>
		<ActiveForm required  ref='A010210' style="width: 50%;">
			<view class="active_label">
				无形资产：
			</view>
			<view class="active_input">
				<mInput maxlength="16" type="number" v-model="stdOffsurCommonFinancial.A01.A010210.beginSum" placeholder="期初(元)" />
				<mInput maxlength="16" type="number" v-model="stdOffsurCommonFinancial.A01.A010210.endSum" placeholder="期末(元)" />
			</view>
		</ActiveForm>
		<ActiveForm required  ref='A010211' style="width: 50%;">
			<view class="active_label">
				开发支出：
			</view>
			<view class="active_input">
				<mInput maxlength="16" type="number" v-model="stdOffsurCommonFinancial.A01.A010211.beginSum" placeholder="期初(元)" />
				<mInput maxlength="16" type="number" v-model="stdOffsurCommonFinancial.A01.A010211.endSum" placeholder="期末(元)" />
			</view>
		</ActiveForm>
		<ActiveForm required  ref='A010212' style="width: 50%;">
			<view class="active_label">
				 长期待摊费用：
			</view>
			<view class="active_input">
				<mInput maxlength="16" type="number" v-model="stdOffsurCommonFinancial.A01.A010212.beginSum" placeholder="期初(元)" />
				<mInput maxlength="16" type="number" v-model="stdOffsurCommonFinancial.A01.A010212.endSum" placeholder="期末(元)" />
			</view>
		</ActiveForm>
		<ActiveForm required  ref='A010213' style="width: 50%;">
			<view class="active_label">
				其他非流动资产：
			</view>
			<view class="active_input">
				<mInput maxlength="16" type="number" v-model="stdOffsurCommonFinancial.A01.A010213.beginSum" placeholder="期初(元)" />
				<mInput maxlength="16" type="number" v-model="stdOffsurCommonFinancial.A01.A010213.endSum" placeholder="期末(元)" />
			</view>
		</ActiveForm>
		<ActiveForm   ref='' style="width: 50%;">
			<view class="active_label">
				非流动资产合计：
			</view>
			<view class="active_input">
				<mInput negative maxlength="16" type="number" :disabled="true" v-model="feiliudongzichanheji.beginSum" placeholder="期初(元)" />
				<mInput negative maxlength="16" type="number" :disabled="true" v-model="feiliudongzichanheji.endSum" placeholder="期末(元)" />
			</view>
		</ActiveForm>
		<ActiveForm   ref='' style="width: 50%;">
			<view class="active_label">
				资产总计：
			</view>
			<view class="active_input">
				<mInput negative maxlength="16" type="number" :disabled="true" v-model="feiliudongzichan.beginSum" placeholder="期初(元)" />
				<mInput negative maxlength="16" type="number" :disabled="true" v-model="feiliudongzichan.endSum" placeholder="期末(元)" />
			</view>
		</ActiveForm>
		
		<block>
			<view class="active_tit">
				<view class="tit2">
					流动负债
				</view> 
				<!-- <view class="add">
					＋
				</view> -->
			</view>
			<!-- input -->
			<ActiveForm   ref='A010301' style="width: 50%;">
				<view class="active_label">
					短期借款：
				</view>
				<view class="active_input">
					<mInput maxlength="16" disabled type="number" v-model="stdOffsurCommonFinancial.A01.A010301.beginSum" placeholder="期初(元)" />
					<mInput maxlength="16" disabled type="number" v-model="stdOffsurCommonFinancial.A01.A010301.endSum" placeholder="期末(元)" />
				</view>
			</ActiveForm>
			
			<ActiveForm required  ref='A010302' style="width: 50%;">
				<view class="active_label">
					 应付票据：
				</view>
				<view class="active_input">
					<mInput maxlength="16" type="number" v-model="stdOffsurCommonFinancial.A01.A010302.beginSum" placeholder="期初(元)" />
					<mInput maxlength="16" type="number" v-model="stdOffsurCommonFinancial.A01.A010302.endSum" placeholder="期末(元)" />
				</view>
			</ActiveForm>
			
			<ActiveForm required  ref='A010303' style="width: 50%;">
				<view class="active_label">
					应付账款：
				</view>
				<view class="active_input">
					<mInput maxlength="16" type="number" v-model="stdOffsurCommonFinancial.A01.A010303.beginSum" placeholder="期初(元)" />
					<mInput maxlength="16" type="number" v-model="stdOffsurCommonFinancial.A01.A010303.endSum" placeholder="期末(元)" />
				</view>
			</ActiveForm>
			
			<ActiveForm required  ref='A010304' style="width: 50%;">
				<view class="active_label">
				  预收账款：
				</view>
				<view class="active_input">
					<mInput maxlength="16" type="number" v-model="stdOffsurCommonFinancial.A01.A010304.beginSum" placeholder="期初(元)" />
					<mInput maxlength="16" type="number" v-model="stdOffsurCommonFinancial.A01.A010304.endSum" placeholder="期末(元)" />
				</view>
			</ActiveForm>
			<ActiveForm required  ref='A010305' style="width: 50%;">
				<view class="active_label">
					 应付职工薪酬：
				</view>
				<view class="active_input">
					<mInput maxlength="16" type="number" v-model="stdOffsurCommonFinancial.A01.A010305.beginSum" placeholder="期初(元)" />
					<mInput maxlength="16" type="number" v-model="stdOffsurCommonFinancial.A01.A010305.endSum" placeholder="期末(元)" />
				</view>
			</ActiveForm>
			<ActiveForm required  ref='A010306' style="width: 50%;">
				<view class="active_label">
					应交税费：
				</view>
				<view class="active_input">
					<mInput maxlength="16" type="number" v-model="stdOffsurCommonFinancial.A01.A010306.beginSum" placeholder="期初(元)" />
					<mInput maxlength="16" type="number" v-model="stdOffsurCommonFinancial.A01.A010306.endSum" placeholder="期末(元)" />
				</view>
			</ActiveForm>
			<ActiveForm required  ref='A010307' style="width: 50%;">
				<view class="active_label">
					应付利息：
				</view>
				<view class="active_input">
					<mInput maxlength="16" type="number" v-model="stdOffsurCommonFinancial.A01.A010307.beginSum" placeholder="期初(元)" />
					<mInput maxlength="16" type="number" v-model="stdOffsurCommonFinancial.A01.A010307.endSum" placeholder="期末(元)" />
				</view>
			</ActiveForm>
			<ActiveForm required  ref='A010308' style="width: 50%;">
				<view class="active_label">
					应付利润：
				</view>
				<view class="active_input">
					<mInput maxlength="16" type="number" v-model="stdOffsurCommonFinancial.A01.A010308.beginSum" placeholder="期初(元)" />
					<mInput maxlength="16" type="number" v-model="stdOffsurCommonFinancial.A01.A010308.endSum" placeholder="期末(元)" />
				</view>
			</ActiveForm>
			<ActiveForm required  ref='A010309' style="width: 50%;">
				<view class="active_label">
					 其他应付款：
				</view>
				<view class="active_input">
					<mInput maxlength="16" type="number" v-model="stdOffsurCommonFinancial.A01.A010309.beginSum" placeholder="期初(元)" />
					<mInput maxlength="16" type="number" v-model="stdOffsurCommonFinancial.A01.A010309.endSum" placeholder="期末(元)" />
				</view>
			</ActiveForm>
			<ActiveForm required  ref='A010310' style="width: 50%;">
				<view class="active_label">
					  其他流动负债：
				</view>
				<view class="active_input">
					<mInput maxlength="16" type="number" v-model="stdOffsurCommonFinancial.A01.A010310.beginSum" placeholder="期初(元)" />
					<mInput maxlength="16" type="number" v-model="stdOffsurCommonFinancial.A01.A010310.endSum" placeholder="期末(元)" />
				</view>
			</ActiveForm>
			
			<ActiveForm   ref='' style="width: 50%;">
				<view class="active_label">
					流动负债合计：
				</view>
				<view class="active_input">
					<mInput negative maxlength="16" type="number" :disabled="true" v-model="liudongfuzhai.beginSum" placeholder="期初(元)" />
					<mInput negative maxlength="16" type="number" :disabled="true" v-model="liudongfuzhai.endSum" placeholder="期末(元)" />
				</view>
			</ActiveForm>
			
			<view class="active_tit">
				<view class="tit2">
					非流动负债
				</view> 
				<!-- <view class="add">
					＋
				</view> -->
			</view>
			<ActiveForm   ref='A010401' style="width: 50%;">
				<view class="active_label">
					  长期借款：
				</view>
				<view class="active_input">
					<mInput maxlength="16" disabled type="number" v-model="stdOffsurCommonFinancial.A01.A010401.beginSum" placeholder="期初(元)" />
					<mInput maxlength="16" disabled type="number" v-model="stdOffsurCommonFinancial.A01.A010401.endSum" placeholder="期末(元)" />
				</view>
			</ActiveForm>
			<ActiveForm required  ref='A010402' style="width: 50%;">
				<view class="active_label">
					  长期应付款：
				</view>
				<view class="active_input">
					<mInput maxlength="16" type="number" v-model="stdOffsurCommonFinancial.A01.A010402.beginSum" placeholder="期初(元)" />
					<mInput maxlength="16" type="number" v-model="stdOffsurCommonFinancial.A01.A010402.endSum" placeholder="期末(元)" />
				</view>
			</ActiveForm>
			<ActiveForm required  ref='A010403' style="width: 50%;">
				<view class="active_label">
					  递延收益：
				</view>
				<view class="active_input">
					<mInput maxlength="16" type="number" v-model="stdOffsurCommonFinancial.A01.A010403.beginSum" placeholder="期初(元)" />
					<mInput maxlength="16" type="number" v-model="stdOffsurCommonFinancial.A01.A010403.endSum" placeholder="期末(元)" />
				</view>
			</ActiveForm>
			<ActiveForm required  ref='A010404' style="width: 50%;">
				<view class="active_label">
					  其他非流动负债：
				</view>
				<view class="active_input">
					<mInput maxlength="16" type="number" v-model="stdOffsurCommonFinancial.A01.A010404.beginSum" placeholder="期初(元)" />
					<mInput maxlength="16" type="number" v-model="stdOffsurCommonFinancial.A01.A010404.endSum" placeholder="期末(元)" />
				</view>
			</ActiveForm>
			<ActiveForm   ref='' style="width: 50%;">
				<view class="active_label">
					非流动负债合计：
				</view>
				<view class="active_input">
					<mInput negative maxlength="16" type="number" :disabled="true" v-model="fldfuzhaiheji.beginSum" placeholder="期初(元)" />
					<mInput negative maxlength="16" type="number" :disabled="true" v-model="fldfuzhaiheji.endSum" placeholder="期末(元)" />
				</view>
			</ActiveForm>
			<ActiveForm   ref='' style="width: 50%;">
				<view class="active_label">
					负债合计：
				</view>
				<view class="active_input">
					<mInput maxlength="16" type="number" :disabled="true" v-model="ldfuzhaiheji.beginSum" placeholder="期初(元)" />
					<mInput maxlength="16" type="number" :disabled="true" v-model="ldfuzhaiheji.endSum" placeholder="期末(元)" />
				</view>
			</ActiveForm>
			<view class="active_tit">
				<view class="tit2">
					资本
				</view> 
				<!-- <view class="add">
					＋
				</view> -->
			</view>
			<ActiveForm required  ref='A010001' style="width: 50%;">
				<view class="active_label">
					实收资本(或股本)：
				</view>
				<view class="active_input">
					<mInput maxlength="16" type="number" v-model="stdOffsurCommonFinancial.A01.A010001.beginSum" placeholder="期初(元)" />
					<mInput maxlength="16" type="number" v-model="stdOffsurCommonFinancial.A01.A010001.endSum" placeholder="期末(元)" />
				</view>
			</ActiveForm>
			<ActiveForm required  ref='A010002' style="width: 50%;">
				<view class="active_label">
					  资本公积：
				</view>
				<view class="active_input">
					<mInput maxlength="16" type="number" v-model="stdOffsurCommonFinancial.A01.A010002.beginSum" placeholder="期初(元)" />
					<mInput maxlength="16" type="number" v-model="stdOffsurCommonFinancial.A01.A010002.endSum" placeholder="期末(元)" />
				</view>
			</ActiveForm>
			<ActiveForm required  ref='A010003' style="width: 50%;">
				<view class="active_label">
					 盈余公积：
				</view>
				<view class="active_input">
					<mInput maxlength="16" type="number" v-model="stdOffsurCommonFinancial.A01.A010003.beginSum" placeholder="期初(元)" />
					<mInput maxlength="16" type="number" v-model="stdOffsurCommonFinancial.A01.A010003.endSum" placeholder="期末(元)" />
				</view>
			</ActiveForm>
			<ActiveForm required  ref='A010004' style="width: 50%;">
				<view class="active_label">
					 未分配利润：
				</view>
				<view class="active_input">
					<mInput maxlength="16" type="number" v-model="stdOffsurCommonFinancial.A01.A010004.beginSum" placeholder="期初(元)" />
					<mInput maxlength="16" type="number" v-model="stdOffsurCommonFinancial.A01.A010004.endSum" placeholder="期末(元)" />
				</view>
			</ActiveForm>
			<ActiveForm   ref='' style="width: 50%;">
				<view class="active_label">
					 所有者权益(或股东权益)合计：
				</view>
				<view class="active_input">
					<mInput negative maxlength="16" type="number" :disabled="true" v-model="suoyouzheheji.beginSum" placeholder="期初(元)" />
					<mInput negative maxlength="16" type="number" :disabled="true" v-model="suoyouzheheji.endSum" placeholder="期末(元)" />
				</view>
			</ActiveForm>
			<ActiveForm   ref='' style="width: 50%;">
				<view class="active_label">
					负债和所有者权益（或股东权益）总计：
				</view>
				<view class="active_input">
					<mInput negative maxlength="16" type="number" :disabled="true" v-model="fuzhahesuoyouzhe.beginSum" placeholder="期初(元)" />
					<mInput negative maxlength="16" type="number" :disabled="true" v-model="fuzhahesuoyouzhe.endSum" placeholder="期末(元)" />
				</view>
			</ActiveForm>
			<!-- <view class="active_form" style="width: 100%;">
				<view class="active_label">
					表外项目及对资产负债表的其它说明:：
				</view>
				<view class="active_input">
					<mInput maxlength="16" type="number" v-model="stdOffsurCommonFinancial.A01.A010005.exComments" placeholder="" />
				</view>
			</view> -->
		</block>
		
		<block>
			<view class="active_tit">
				<view class="tit">
					损益表
				</view> 
			</view>
			<!-- input -->
			<ActiveForm required  ref='A020001' style="width: 50%;">
				<view class="active_label">
					营业总收入：
				</view>
				<view class="active_input">
					<mInput negative maxlength="16" type="number" v-model="stdOffsurCommonFinancial.A02.A020001.beginSum" placeholder="上年度(元)" />
					<mInput negative maxlength="16" type="number" v-model="stdOffsurCommonFinancial.A02.A020001.endSum" placeholder="本年度(元)" />
				</view>
			</ActiveForm>
			<ActiveForm required  ref='A020004' style="width: 50%;">
				<view class="active_label">
					营业利润：
				</view>
				<view class="active_input">
					<mInput negative maxlength="16" type="number" v-model="stdOffsurCommonFinancial.A02.A020004.beginSum" placeholder="上年度(元)" />
					<mInput negative maxlength="16" type="number" v-model="stdOffsurCommonFinancial.A02.A020004.endSum" placeholder="本年度(元)" />
				</view>
			</ActiveForm>
			<ActiveForm required  ref='A020002' style="width: 50%;">
				<view class="active_label">
					营业总成本：
				</view>
				<view class="active_input">
					<mInput negative maxlength="16" type="number" v-model="stdOffsurCommonFinancial.A02.A020002.beginSum" placeholder="上年度(元)" />
					<mInput negative maxlength="16" type="number" v-model="stdOffsurCommonFinancial.A02.A020002.endSum" placeholder="本年度(元)" />
				</view>
			</ActiveForm>
			<ActiveForm required  ref='A020005' style="width: 50%;">
				<view class="active_label">
					所得税：
				</view>
				<view class="active_input">
					<mInput negative maxlength="16" type="number" v-model="stdOffsurCommonFinancial.A02.A020005.beginSum" placeholder="上年度(元)" />
					<mInput negative maxlength="16" type="number" v-model="stdOffsurCommonFinancial.A02.A020005.endSum" placeholder="本年度(元)" />
				</view>
			</ActiveForm>
			<ActiveForm required  ref='A020003' style="width: 50%;">
				<view class="active_label">
					利润总额：
				</view>
				<view class="active_input">
					<mInput negative maxlength="16" type="number" v-model="stdOffsurCommonFinancial.A02.A020003.beginSum" placeholder="上年度(元)" />
					<mInput negative maxlength="16" type="number" v-model="stdOffsurCommonFinancial.A02.A020003.endSum" placeholder="本年度(元)" />
				</view>
			</ActiveForm>
			<ActiveForm required  ref='A020006' style="width: 50%;">
				<view class="active_label">
					净利润：
				</view>
				<view class="active_input">
					<mInput negative maxlength="16" type="number" v-model="stdOffsurCommonFinancial.A02.A020006.beginSum" placeholder="上年度(元)" />
					<mInput negative maxlength="16" type="number" v-model="stdOffsurCommonFinancial.A02.A020006.endSum" placeholder="本年度(元)" />
				</view>
			</ActiveForm>
			<ActiveForm   ref='' style="width: 50%;">
				<view class="active_label">
					营业利润率（%）：
				</view>
				<view class="active_input">
					<mInput negative maxlength="16" type="number" :disabled="true" v-model="sunyiyingye.beginSum" placeholder="上年度(元)" />
					<mInput negative maxlength="16" type="number" :disabled="true" v-model="sunyiyingye.endSum" placeholder="本年度(元)" />
				</view>
			</ActiveForm>
			<ActiveForm   ref='' style="width: 50%;">
				<view class="active_label">
					净利率（%）：
				</view>
				<view class="active_input">
					<mInput negative maxlength="16" type="number" :disabled="true" v-model="sunyijinglilv.beginSum" placeholder="上年度(元)" />
					<mInput negative maxlength="16" type="number" :disabled="true" v-model="sunyijinglilv.endSum" placeholder="本年度(元)" />
				</view>
			</ActiveForm>
			
		</block>
		
		<block>
			<view class="active_tit">
				<view class="tit">
					营运资金需求量信息
				</view> 
			</view>
			<!-- input -->
			<ActiveForm   ref='' style="width: 50%;">
				<view class="active_label">
					存货周转天数：
				</view>
				<view class="active_input">
					<mInput maxlength="16" type="number" disabled v-model="stdOffsurFinaPay.stockTurnoverDays" placeholder="" />
					
				</view>
			</ActiveForm>
			<ActiveForm   ref='' style="width: 50%;">
				<view class="active_label">
					预付账款周转天数：
				</view>
				<view class="active_input">
					<mInput maxlength="16" type="number" disabled v-model="stdOffsurFinaPay.prepayTurnoverDays" placeholder="" />
					
				</view>
			</ActiveForm>
			<ActiveForm   ref='' style="width: 50%;">
				<view class="active_label">
					上年营业额（元）：
				</view>
				<view class="active_input">
					<mInput maxlength="16" type="number" disabled v-model="stdOffsurFinaPay.turnoverLastyear" placeholder="" />
					
				</view>
			</ActiveForm>
			<ActiveForm   ref='' style="width: 50%;">
				<view class="active_label">
					营运资金量（元）：
				</view>
				<view class="active_input">
					<mInput maxlength="16" type="number" disabled v-model="stdOffsurFinaPay.workingCapital" placeholder="" />
					
				</view>
			</ActiveForm>
			<ActiveForm   ref='' style="width: 50%;">
				<view class="active_label">
					其他渠道营运资金：
				</view>
				<view class="active_input">
					<mInput maxlength="16" type="number" disabled v-model="stdOffsurFinaPay.otherWorkCapital" placeholder="" />
					
				</view>
			</ActiveForm>
			<ActiveForm   ref='' style="width: 50%;">
				<view class="active_label">
					应收账款周转天数：
				</view>
				<view class="active_input">
					<mInput maxlength="16" type="number" disabled v-model="stdOffsurFinaPay.debtTurnoverDays" placeholder="" />
					
				</view>
			</ActiveForm>
			<ActiveForm   ref='' style="width: 50%;">
				<view class="active_label">
					预收账款周转天数：
				</view>
				<view class="active_input">
					<mInput maxlength="16" type="number" disabled v-model="stdOffsurFinaPay.prereTurnoverDays" placeholder="" />
					
				</view>
			</ActiveForm>
			<ActiveForm   ref='' style="width: 50%;">
				<view class="active_label">
					上年营业成本（元）：
				</view>
				<view class="active_input">
					<mInput maxlength="16" type="number" disabled v-model="stdOffsurFinaPay.costLastyear" placeholder="" />
				</view>
			</ActiveForm>
			
			<ActiveForm   ref='' style="width: 50%;">
				<view class="active_label">
					申请人自有资金（元）：
				</view>
				<view class="active_input">
					<mInput maxlength="16" type="number" disabled v-model="stdOffsurFinaPay.ownerCapital" placeholder="" />
				</view>
			</ActiveForm>
			<ActiveForm   ref='' style="width: 50%;">
				<view class="active_label">
					应付账款周转天数：
				</view>
				<view class="active_input">
					<mInput maxlength="16" type="number" disabled v-model="stdOffsurFinaPay.payableTurnoverDays" placeholder="" />
				</view>
			</ActiveForm>
			<ActiveForm   ref='' style="width: 50%;">
				<view class="active_label">
					营运资金周转次数：
				</view>
				<view class="active_input">
					<mInput maxlength="16" type="number" disabled v-model="stdOffsurFinaPay.serTurnoverDays" placeholder="" />
				</view>
			</ActiveForm>
			<ActiveForm   ref='' style="width: 50%;">
				<view class="active_label">
					预计本年营业额增长率（%）：
				</view>
				<view class="active_input">
					<mInput maxlength="16" type="number" disabled v-model="stdOffsurFinaPay.turnoverGrowRate" placeholder="" />
				</view>
			</ActiveForm>
			<ActiveForm required  ref='' style="width: 50%;">
				<view class="active_label">
					现有流动资金贷款：
				</view>
				<view class="active_input">
					<mInput maxlength="16" type="number"  v-model="stdOffsurFinaPay.nowCapitalLoan" placeholder="" />
				</view>
			</ActiveForm>
			<ActiveForm   ref='' style="width: 50%;">
				<view class="active_label">
					新增流动资金贷款额度（元）：
				</view>
				<view class="active_input">
					<mInput maxlength="16" type="number" disabled v-model="stdOffsurFinaPay.newLoadQuota" placeholder="" />
				</view>
			</ActiveForm>
			
		</block>
	
	</view>
</template>

<script>
	export default{
		data(){
			return{
				Cflag:false,
				form:{
					
				},
				stdOffsurCommonFinancial:{
					A01:{
						A010001:{
							endSum:'',
							beginSum:''
						},
						A010002:{
							endSum:'',
							beginSum:''
						},
						A010003:{
							endSum:'',
							beginSum:''
						},
						A010004:{
							endSum:'',
							beginSum:''
						},
						A010005:{
							endSum:'',
							beginSum:''
						},
						A010101:{
							endSum:'',
							beginSum:'2222222'
						},
						A010101:{
							endSum:'',
							beginSum:''
						},
						
						A010102:{
							endSum:'',
							beginSum:''
						},
						A010103:{
							endSum:'',
							beginSum:''
						},
						A010104:{
							endSum:'',
							beginSum:''
						},
						A010105:{
							endSum:'',
							beginSum:''
						},
						
						A010106:{
							endSum:'',
							beginSum:''
						},
						A010107:{
							endSum:'',
							beginSum:''
						},
						A010108:{
							endSum:'',
							beginSum:''
						},
						A010109:{
							endSum:'',
							beginSum:''
						},
						A010110:{
							endSum:'',
							beginSum:''
						},
						A010111:{
							endSum:'',
							beginSum:''
						},
						A010112:{
							endSum:'',
							beginSum:''
						},
						A010113:{
							endSum:'',
							beginSum:''
						},
						A010114:{
							endSum:'',
							beginSum:''
						},
						A010201:{
							endSum:'',
							beginSum:''
						},
						A010202:{
							endSum:'',
							beginSum:''
						},
						A010203:{
							endSum:'',
							beginSum:''
						},
						
						A010204:{
							endSum:'',
							beginSum:''
						},
						A010205:{
							endSum:'',
							beginSum:''
						},
						A010206:{
							endSum:'',
							beginSum:''
						},
						A010207:{
							endSum:'',
							beginSum:''
						},
						A010208:{
							endSum:'',
							beginSum:''
						},
						A010209:{
							endSum:'',
							beginSum:''
						},
						A010210:{
							endSum:'',
							beginSum:''
						},
						A010211:{
							endSum:'',
							beginSum:''
						},
						
						A010212:{
							endSum:'',
							beginSum:''
						},
						A010213:{
							endSum:'',
							beginSum:''
						},
						A010214:{
							endSum:'',
							beginSum:''
						},
						A010301:{
							endSum:'',
							beginSum:''
						},
						A010302:{
							endSum:'',
							beginSum:''
						},
						A010303:{
							endSum:'',
							beginSum:''
						},
						A010304:{
							endSum:'',
							beginSum:''
						},
						A010305:{
							endSum:'',
							beginSum:''
						},
						A010306:{
							endSum:'',
							beginSum:''
						},
						A010307:{
							endSum:'',
							beginSum:''
						},
						A010308:{
							endSum:'',
							beginSum:''
						},
						A010309:{
							endSum:'',
							beginSum:''
						},
						A010310:{
							endSum:'',
							beginSum:''
						},
						A010401:{
							endSum:'',
							beginSum:''
						},
						A010402:{
							endSum:'',
							beginSum:''
						},
						A010403:{
							endSum:'',
							beginSum:''
						},
						A010404:{
							endSum:'',
							beginSum:''
						},
					},
					A02:{
						A020001:{
							beginSum:'',
							endSum:''
						},
						A020002:{
							beginSum:'',
							endSum:''
						},
						A020003:{
							beginSum:'',
							endSum:''
						},
						A020004:{
							beginSum:'',
							endSum:''
						},
						A020005:{
							beginSum:'',
							endSum:''
						},
						A020006:{
							beginSum:'',
							endSum:''
						},
					}
				},
				stdOffsurFinaPay:{
					costLastyear: '',
					prepayTurnoverDays: '',
					payableTurnoverDays: '',
					otherWorkCapital: '',
					workingCapital: '',
					turnoverLastyear: '',
					prepayTurnoverDays: '',
					stockTurnoverDays: '',
					serTurnoverDays:""
				},
				sunyijinglilv:{
					beginSum:'',
					endSum:''
				},
				liudongzichan:{
					beginSum:'',
					endSum:''
				},
				feiliudongzichanheji:{
					beginSum:'',
					endSum:''
				},
				feiliudongzichan:{
					beginSum:'',
					endSum:''
				},
				liudongfuzhai:{
					beginSum:'',
					endSum:''
				},
				fldfuzhaiheji:{
					beginSum:'',
					endSum:''
				},
				ldfuzhaiheji:{
					beginSum:'',
					endSum:''
				},
				suoyouzheheji:{
					beginSum:'',
					endSum:''
				},
				fuzhahesuoyouzhe:{
					beginSum:'',
					endSum:''
				},
				sunyiyingye:{
					beginSum:'',
					endSum:''
				},
				sunyijinglilv:{
					beginSum:'',
					endSum:''
				}
			}
		},
		computed:{
			ch1(){
				return function(val){
				        let num = Number(this.stdOffsurCommonFinancial.A01.A010110.beginSum)*100+ Number(this.stdOffsurCommonFinancial.A01.A010111.beginSum)*100+ Number(this.stdOffsurCommonFinancial.A01.A010112.beginSum)*100+ Number(this.stdOffsurCommonFinancial.A01.A010113.beginSum)*100 
						this.stdOffsurCommonFinancial.A01.A010109.beginSum = num/100 
						return num/100||'0.00'
				      }
			},
			ch2(){
				return function(val){
				        let num = Number(this.stdOffsurCommonFinancial.A01.A010110.endSum)*100+ Number(this.stdOffsurCommonFinancial.A01.A010111.endSum)*100+ Number(this.stdOffsurCommonFinancial.A01.A010112.endSum)*100+ Number(this.stdOffsurCommonFinancial.A01.A010113.endSum)*100
				        this.stdOffsurCommonFinancial.A01.A010109.endSum = num/100
				        return num/100||'0.00'
				      }
			},
			gd1(){
				//stdOffsurCommonFinancial.A01.A010205.beginSum
				return function(val){
				        let num = Number(this.stdOffsurCommonFinancial.A01.A010203.beginSum)*100- Number(this.stdOffsurCommonFinancial.A01.A010204.beginSum)*100
				        this.stdOffsurCommonFinancial.A01.A010205.beginSum = num/100
				        return num/100||'0.00'
				      }
			},
			gd2(){
				//stdOffsurCommonFinancial.A01.A010205.beginSum
				return function(val){
				        let num = Number(this.stdOffsurCommonFinancial.A01.A010203.endSum)*100- Number(this.stdOffsurCommonFinancial.A01.A010204.endSum)*100
				        this.stdOffsurCommonFinancial.A01.A010205.endSum = num/100
				        return num/100||'0.00'
				      }
			}
		},
		props:{
			changeFlag: {
		
			},
		},
		watch:{
			changeFlag:{
				handler:function(res){
				    this.yyzj()
				},
				deep:true
			},
			stdOffsurCommonFinancial:{
				handler:function(res){
					//console.log('详细财务报表')
					if(this.Cflag){
						getApp().globalData.stdOffsurCommonFinancial = Object.assign(getApp().globalData.stdOffsurCommonFinancial,res)
					}
					
					if(getApp().globalData.stdOffsurBaiscInfo.statementType==1){
						setTimeout(()=>{
							this.total()
							this.fuzhai()
							this.quanyi()
							this.lirun()
							//计算营业资金需求量
							this.yyzj()
						},300)
						
					}
					 
					
				},
				deep:true
			},
			stdOffsurFinaPay:{
				handler:function(res){
					//console.warn('stdOffsurFinaPay组件数据变化',res)
					getApp().globalData.stdOffsurFinaPay = res
				},
				deep:true
			},
			//feiliudongzichanheji
		},
		mounted() {
			//获取返显数据
			setTimeout(()=>{	
				//debugger
				//数据反显
				//console.log('测试',getApp().globalData.stdOffsurCommonFinancial)
				this.Cflag =true
				this.stdOffsurCommonFinancial = getApp().globalData.stdOffsurCommonFinancial
				
				this.stdOffsurFinaPay = getApp().globalData.stdOffsurFinaPay
			},getApp().globalData.timeout)
		},
		methods:{
			//资产计算
			total(){
				//流动资产
				let ldbegNum = 0,ldendNum=0
				let ldArr = ["A010101","A010102","A010103","A010104","A010105","A010106","A010107","A010108","A010109","A010114",]
			    for(let i=0;i<ldArr.length;i++){
					ldbegNum+= Number(this.stdOffsurCommonFinancial.A01[ldArr[i]].beginSum)*100
					ldendNum+=Number(this.stdOffsurCommonFinancial.A01[ldArr[i]].endSum)*100
				}
				this.liudongzichan.beginSum = ldbegNum/100
				this.liudongzichan.endSum = ldendNum/100
				
				// 非流动资产合计
				let fldbegNum=0,fldendNum=0
				let fldArr = ["A010201","A010202","A010205","A010206","A010207","A010208","A010209","A010210","A010211","A010212","A010213"]
				for(let i=0;i<fldArr.length;i++){
					fldbegNum+= Number(this.stdOffsurCommonFinancial.A01[fldArr[i]].beginSum)*100
					fldendNum+=Number(this.stdOffsurCommonFinancial.A01[fldArr[i]].endSum)*100
				}
				this.feiliudongzichanheji.beginSum = fldbegNum/100
				this.feiliudongzichanheji.endSum = fldendNum/100
				//资产合计
				this.feiliudongzichan.beginSum = (this.liudongzichan.beginSum*100+this.feiliudongzichanheji.beginSum*100)/100
				this.feiliudongzichan.endSum = (this.liudongzichan.endSum*100+this.feiliudongzichanheji.endSum*100)/100
			
			    //全局赋值，
				getApp().globalData.stdOffsurCommonFinancial.A01.A010115.beginSum = this.liudongzichan.beginSum
				getApp().globalData.stdOffsurCommonFinancial.A01.A010115.endSum = this.liudongzichan.endSum
				
				getApp().globalData.stdOffsurCommonFinancial.A01.A010214.beginSum = this.feiliudongzichanheji.beginSum
				getApp().globalData.stdOffsurCommonFinancial.A01.A010214.endSum = this.feiliudongzichanheji.endSum
				
				getApp().globalData.stdOffsurCommonFinancial.A01.A010215.beginSum = this.feiliudongzichan.beginSum
				getApp().globalData.stdOffsurCommonFinancial.A01.A010215.endSum = this.feiliudongzichan.endSum
			
			},
			//负债计算
			fuzhai(){
				//流动负债ldfuzhaiheji
				let ldfzBegNum = 0,ldfzEndNum=0
				let ldArr = ["A010301","A010302","A010303","A010304","A010305","A010306","A010307","A010308","A010309","A010310"]
				for(let i=0;i<ldArr.length;i++){
					ldfzBegNum+= Number(this.stdOffsurCommonFinancial.A01[ldArr[i]].beginSum)*100
					ldfzEndNum+=Number(this.stdOffsurCommonFinancial.A01[ldArr[i]].endSum)*100
				}
				this.liudongfuzhai.beginSum = ldfzBegNum/100
				this.liudongfuzhai.endSum = ldfzEndNum/100
				//非流动负债
				let fldfzBegNum = 0,fldfzEndNum=0
				let fldArr = ["A010401","A010402","A010403","A010404",]
				for(let i=0;i<fldArr.length;i++){
					fldfzBegNum+= Number(this.stdOffsurCommonFinancial.A01[fldArr[i]].beginSum)*100
					fldfzEndNum+=Number(this.stdOffsurCommonFinancial.A01[fldArr[i]].endSum)*100
				}
				this.fldfuzhaiheji.beginSum = fldfzBegNum/100
				this.fldfuzhaiheji.endSum = fldfzEndNum/100
				
				this.ldfuzhaiheji.beginSum = (this.liudongfuzhai.beginSum*100+this.fldfuzhaiheji.beginSum*100)/100
				this.ldfuzhaiheji.endSum = (this.liudongfuzhai.endSum*100+this.fldfuzhaiheji.endSum*100)/100
			    
				
				//全局赋值
				getApp().globalData.stdOffsurCommonFinancial.A01.A010311.beginSum = this.liudongfuzhai.beginSum
				getApp().globalData.stdOffsurCommonFinancial.A01.A010311.endSum = this.liudongfuzhai.endSum
				
				getApp().globalData.stdOffsurCommonFinancial.A01.A010405.beginSum = this.fldfuzhaiheji.beginSum
				getApp().globalData.stdOffsurCommonFinancial.A01.A010405.endSum = this.fldfuzhaiheji.endSum
				
				getApp().globalData.stdOffsurCommonFinancial.A01.A010406.beginSum = this.ldfuzhaiheji.beginSum
				getApp().globalData.stdOffsurCommonFinancial.A01.A010406.endSum = this.ldfuzhaiheji.endSum
			
			
			},
			//所有者权益合计
			quanyi(){
				//所有者权益合计
				let qyBegNum = 0,qyEndNum=0
				let ldArr = ["A010001","A010002","A010003","A010004",]
				for(let i=0;i<ldArr.length;i++){
					qyBegNum+= Number(this.stdOffsurCommonFinancial.A01[ldArr[i]].beginSum)*100
					qyEndNum+=Number(this.stdOffsurCommonFinancial.A01[ldArr[i]].endSum)*100
				}
				this.suoyouzheheji.beginSum = qyBegNum/100
				this.suoyouzheheji.endSum = qyEndNum/100
				
				this.fuzhahesuoyouzhe.beginSum = (this.suoyouzheheji.beginSum*100+this.ldfuzhaiheji.beginSum*100)/100
				this.fuzhahesuoyouzhe.endSum = (this.suoyouzheheji.endSum*100+this.ldfuzhaiheji.endSum*100)/100
			    
				//全局赋值
			    getApp().globalData.stdOffsurCommonFinancial.A01.A010006.beginSum = this.suoyouzheheji.beginSum
			    getApp().globalData.stdOffsurCommonFinancial.A01.A010006.endSum = this.suoyouzheheji.endSum
				
				getApp().globalData.stdOffsurCommonFinancial.A01.A010007.beginSum = this.fuzhahesuoyouzhe.beginSum
				getApp().globalData.stdOffsurCommonFinancial.A01.A010007.endSum = this.fuzhahesuoyouzhe.endSum
			    			
			},
			lirun(){
				
				this.sunyiyingye.beginSum = ((Number(this.stdOffsurCommonFinancial.A02.A020004.beginSum)/Number(this.stdOffsurCommonFinancial.A02.A020001.beginSum))*100).toFixed(2)
				this.sunyiyingye.endSum = ((Number(this.stdOffsurCommonFinancial.A02.A020004.endSum)/Number(this.stdOffsurCommonFinancial.A02.A020001.endSum))*100).toFixed(2)
				this.sunyijinglilv.beginSum = ((Number(this.stdOffsurCommonFinancial.A02.A020006.beginSum)/Number(this.stdOffsurCommonFinancial.A02.A020001.beginSum))*100).toFixed(2)
				this.sunyijinglilv.endSum = ((Number(this.stdOffsurCommonFinancial.A02.A020006.endSum)/Number(this.stdOffsurCommonFinancial.A02.A020001.endSum))*100).toFixed(2)
			   
				if(this.sunyiyingye.beginSum=='NaN'){
			    	this.sunyiyingye.beginSum =0
			    }
				if(this.sunyiyingye.endSum=='NaN'){
					this.sunyiyingye.endSum =0
				}
				if(this.sunyijinglilv.beginSum=='NaN'){
					this.sunyijinglilv.beginSum =0
				}
				if(this.sunyijinglilv.endSum=='NaN'){
					this.sunyijinglilv.endSum =0
				}
				
				//全局赋值
				getApp().globalData.stdOffsurCommonFinancial.A02.A020007.beginSum = this.sunyiyingye.beginSum
				getApp().globalData.stdOffsurCommonFinancial.A02.A020007.endSum = this.sunyiyingye.endSum
				
				getApp().globalData.stdOffsurCommonFinancial.A02.A020008.beginSum = this.sunyijinglilv.beginSum
				getApp().globalData.stdOffsurCommonFinancial.A02.A020008.endSum = this.sunyijinglilv.endSum
			},
			yyzj(){
				//存货周转天数=360/【营业总成本/【（存货_期初+存货_期末)/2】】
				this.stdOffsurFinaPay.stockTurnoverDays =(360/(Number(this.stdOffsurCommonFinancial.A02.A020002.beginSum)/((Number(this.stdOffsurCommonFinancial.A01.A010109.beginSum)+Number(this.stdOffsurCommonFinancial.A01.A010109.endSum))/2))).toFixed(4)||0
				if(this.stdOffsurFinaPay.stockTurnoverDays==='NaN'){
					this.stdOffsurFinaPay.stockTurnoverDays = 0
				}
				//预付账款周转天数=360/【营业总成本/【（预付账款_期初+预付账款_期末）/2】】
				this.stdOffsurFinaPay.prepayTurnoverDays =(360/(Number(this.stdOffsurCommonFinancial.A02.A020002.beginSum)/((Number(this.stdOffsurCommonFinancial.A01.A010105.beginSum)+Number(this.stdOffsurCommonFinancial.A01.A010105.endSum))/2))).toFixed(4)||0
				if(this.stdOffsurFinaPay.prepayTurnoverDays==='NaN'){
					this.stdOffsurFinaPay.prepayTurnoverDays = 0
				}
				//上年营业额=营业总收入_期初
				this.stdOffsurFinaPay.turnoverLastyear =Number(this.stdOffsurCommonFinancial.A02.A020001.beginSum)||0
				
				//其他渠道营运资金 取企业征信：非银行类金融机构贷款汇总
				this.stdOffsurFinaPay.otherWorkCapital = 0
				//应收账款周转天数=360/【营业总收入/【（应收账款_期初+应收账款_期末)/2】】
				this.stdOffsurFinaPay.debtTurnoverDays =(360/(Number(this.stdOffsurCommonFinancial.A02.A020001.beginSum)/((Number(this.stdOffsurCommonFinancial.A01.A010104.beginSum)+Number(this.stdOffsurCommonFinancial.A01.A010104.endSum))/2))).toFixed(4)||0
				if(this.stdOffsurFinaPay.debtTurnoverDays==='NaN'){
					this.stdOffsurFinaPay.debtTurnoverDays = 0
				}
				//预收账款周转天数=360/【营业总收入/【（预收账款_期初+预收账款_期末）/2】】
				this.stdOffsurFinaPay.prereTurnoverDays =(360/(Number(this.stdOffsurCommonFinancial.A02.A020001.beginSum)/((Number(this.stdOffsurCommonFinancial.A01.A010304.beginSum)+Number(this.stdOffsurCommonFinancial.A01.A010304.endSum))/2))).toFixed(4)||0
				if(this.stdOffsurFinaPay.prereTurnoverDays==='NaN'){
					this.stdOffsurFinaPay.prereTurnoverDays = 0
				}
				//上年营业成本（元）营业总成本_期初
				this.stdOffsurFinaPay.costLastyear = Number(this.stdOffsurCommonFinancial.A02.A020002.beginSum)||0
				//==========
				//申请人自有资金 流动资产_期末-流动负债_期末
				this.stdOffsurFinaPay.ownerCapital =(Number(this.liudongzichan.endSum)*100-Number(this.liudongfuzhai.endSum)*100)/100||0
				//应付账款周转天数 = 360/【营业总成本/【（应付账款_期初+应付账款_期末）/2】】
				this.stdOffsurFinaPay.payableTurnoverDays =(360/(Number(this.stdOffsurCommonFinancial.A02.A020002.beginSum)/((Number(this.stdOffsurCommonFinancial.A01.A010303.beginSum)+Number(this.stdOffsurCommonFinancial.A01.A010303.endSum))/2))).toFixed(4)||0
			   if(this.stdOffsurFinaPay.payableTurnoverDays==='NaN'){
			   	this.stdOffsurFinaPay.payableTurnoverDays = 0
			   }
				//营运资金周转次数=360/（存货周转天数+应收账款周转天数-应付账款周转天数+预付账款周转天数-预收账款周转天数）
				this.stdOffsurFinaPay.serTurnoverDays = (360/(Number(this.stdOffsurFinaPay.stockTurnoverDays)
				+Number(this.stdOffsurFinaPay.debtTurnoverDays)
				-Number(this.stdOffsurFinaPay.payableTurnoverDays)
				+Number(this.stdOffsurFinaPay.prepayTurnoverDays)
				-Number(this.stdOffsurFinaPay.prereTurnoverDays))).toFixed(2)||0
				if(this.stdOffsurFinaPay.serTurnoverDays==='NaN'||this.stdOffsurFinaPay.serTurnoverDays==='Infinity'){
					this.stdOffsurFinaPay.serTurnoverDays = 0
				}
				//预计本年营业额增长率=预计未来一年营业额（元）/近12个月营业额/工程额（元）-1
				    //判断当前经营类型
				if(getApp().globalData.stdOffsurEntBasic.industry==1||getApp().globalData.stdOffsurEntBasic.industry==6){
					if(!Number(getApp().globalData.stdOffsurWholesale.turnover12month)){
						this.stdOffsurFinaPay.turnoverGrowRate = 0
					}else{
						this.stdOffsurFinaPay.turnoverGrowRate = ((Number(getApp().globalData.stdOffsurWholesale.nextYearTurnover)/Number(getApp().globalData.stdOffsurWholesale.turnover12month)-1)*100).toFixed(2)||0
					}
					
				}else if(getApp().globalData.stdOffsurEntBasic.industry==2){
					if(!Number(getApp().globalData.stdOffsurProcuct.turnover12month)){
						this.stdOffsurFinaPay.turnoverGrowRate = 0
					}else{
					    this.stdOffsurFinaPay.turnoverGrowRate = ((Number(getApp().globalData.stdOffsurProcuct.nextYearTurnover)/Number(getApp().globalData.stdOffsurProcuct.turnover12month)-1)*100).toFixed(2)||0
				    }
				}else if(getApp().globalData.stdOffsurEntBasic.industry==3){
					if(!Number(getApp().globalData.stdOffsurService.turnover12month)){
						this.stdOffsurFinaPay.turnoverGrowRate = 0
					}else{
					    this.stdOffsurFinaPay.turnoverGrowRate = ((Number(getApp().globalData.stdOffsurService.nextYearTurnover)/Number(getApp().globalData.stdOffsurService.turnover12month)-1)*100).toFixed(2)||0
				    }
				}else if(getApp().globalData.stdOffsurEntBasic.industry==4){
					if(!Number(getApp().globalData.stdOffsurTraffic.turnover12month)){
						this.stdOffsurFinaPay.turnoverGrowRate = 0
					}else{
					this.stdOffsurFinaPay.turnoverGrowRate = ((Number(getApp().globalData.stdOffsurTraffic.nextYearTurnover)/Number(getApp().globalData.stdOffsurTraffic.turnover12month)-1)*100).toFixed(2)||0
				    }
				}else if(getApp().globalData.stdOffsurEntBasic.industry==5){
					if(!Number(getApp().globalData.stdOffsurConstruction.turnover12month)){
						this.stdOffsurFinaPay.turnoverGrowRate = 0
					}else{
					  this.stdOffsurFinaPay.turnoverGrowRate = ((Number(getApp().globalData.stdOffsurConstruction.nextYearTurnover)/Number(getApp().globalData.stdOffsurConstruction.turnover12month)-1)*100).toFixed(2)||0
				    }
				}	
				
				//营运资金量 =上年营业额*（1-利润总额_期初/营业总收入_期初）*（1+预计销售收入年增长率）/营运资金周转次数
				this.stdOffsurFinaPay.workingCapital =(Number(this.stdOffsurFinaPay.turnoverLastyear)*(1- Number(this.stdOffsurCommonFinancial.A02.A020003.beginSum)/Number(this.stdOffsurCommonFinancial.A02.A020001.beginSum))*(1+this.stdOffsurFinaPay.turnoverGrowRate/100)/Number(this.stdOffsurFinaPay.serTurnoverDays)).toFixed(2)||0  
				setTimeout(()=>{
					if( isNaN(this.stdOffsurFinaPay.workingCapital)){
						this.stdOffsurFinaPay.workingCapital = 0
					}
				},100)
				
				//现有流动资金贷款 = 短期借款(期末) //= 取企业征信：银行类金融机构贷款汇总
				this.stdOffsurFinaPay.nowCapitalLoan = Number(this.stdOffsurCommonFinancial.A01.A010301.endSum) ||0
				//新增流动资金贷款额度（元）=营运资金量-借款人自有资金-现有流动资金贷款-其他渠道提供的营运资金
				this.stdOffsurFinaPay.newLoadQuota = (Number(this.stdOffsurFinaPay.workingCapital)*100- this.stdOffsurFinaPay.ownerCapital*100-this.stdOffsurFinaPay.nowCapitalLoan*100-this.stdOffsurFinaPay.otherWorkCapital*100)/100||0
			    setTimeout(()=>{
			    	if( isNaN(this.stdOffsurFinaPay.newLoadQuota)){
			    		this.stdOffsurFinaPay.newLoadQuota = 0
			    	}
			    },100)
			}
		}
	}
</script>

<style>
</style>
